deps: update rand_core requirement from 0.6.4 to 0.10.0#17
deps: update rand_core requirement from 0.6.4 to 0.10.0#17dependabot[bot] wants to merge 1 commit into
Conversation
|
Refreshing CI and auto-merge workflow after repository automation updates. |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
e27fdba to
1bd0c21
Compare
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughUpdated the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
Cargo.toml (1)
6-6:⚠️ Potential issue | 🔴 Critical
rand_core0.10.0 is incompatible: MSRV 1.85 vs. project 1.70, andOsRngis removedThis bump breaks the build.
rand_core0.10.0 requires Rust 1.85 (your project targets 1.70), and the entireOsRngtype is removed (15 usages across asymmetric crypto and TLS modules). Migrate togetrandom::SysRng(orrand::rngs::SysRng) throughout the codebase, or revert torand_core0.6.x and defer this upgrade until toolchain migration is planned.Immediate safe reversion
-rand_core = "0.10.0" # Used for OsRng in asymmetric crypto modules +rand_core = "0.6.4" # Used for OsRng in asymmetric crypto modules🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@Cargo.toml` at line 6, The project bumped rand_core to 0.10.0 which is incompatible with MSRV 1.70 and removed OsRng; fix by either reverting the dependency to a rand_core 0.6.x line in Cargo.toml to restore OsRng compatibility, or update all usages of OsRng (search for OsRng in asymmetric crypto and TLS modules and any 15 occurrences) to use getrandom::SysRng or rand::rngs::SysRng and adjust imports and any API differences accordingly (update function signatures or constructors that previously relied on OsRng), and ensure Cargo.toml reflects the chosen crate and version consistent with MSRV.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Outside diff comments:
In `@Cargo.toml`:
- Line 6: The project bumped rand_core to 0.10.0 which is incompatible with MSRV
1.70 and removed OsRng; fix by either reverting the dependency to a rand_core
0.6.x line in Cargo.toml to restore OsRng compatibility, or update all usages of
OsRng (search for OsRng in asymmetric crypto and TLS modules and any 15
occurrences) to use getrandom::SysRng or rand::rngs::SysRng and adjust imports
and any API differences accordingly (update function signatures or constructors
that previously relied on OsRng), and ensure Cargo.toml reflects the chosen
crate and version consistent with MSRV.
Updates the requirements on [rand_core](https://github.com/rust-random/rand_core) to permit the latest version. - [Release notes](https://github.com/rust-random/rand_core/releases) - [Changelog](https://github.com/rust-random/rand_core/blob/master/CHANGELOG.md) - [Commits](rust-random/rand_core@v0.6.4...v0.10.0) --- updated-dependencies: - dependency-name: rand_core dependency-version: 0.10.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
1bd0c21 to
2f29b27
Compare
Updates the requirements on rand_core to permit the latest version.
Release notes
Sourced from rand_core's releases.
... (truncated)
Changelog
Sourced from rand_core's changelog.
... (truncated)
Commits
0ce22c9Prepare 0.10.0 (#64)a20120cRemove CryptoGenerator and Generator::drop; add BlockRng::clear (#69)f9763d8Add deprecatedRngCore/TryRngCoreforwarding traits (#70)ae88096Update license year (#67)5de0732TweakUnwrapErrimpl (#66)9eb6381Tweak doc links (#65)5864683Remove outdated comment (#62)f5e3b45MoveSeedableRngandUnwrapErrinto separate modules (#63)e591ff2Release v0.10.0-rc-6 (#61)423ca87Enable lints in Cargo.toml (#60)Summary by CodeRabbit